﻿<%@ Page Language="C#" MasterPageFile="~/Search/MasterPage.master" AutoEventWireup="true" CodeFile="myapply.aspx.cs" Inherits="Search_myapply" Title="无标题页" %>

<%@ Register Assembly="Infragistics35.WebUI.UltraWebGrid.ExcelExport.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.UltraWebGrid.ExcelExport" TagPrefix="igtblexp" %>

<%@ Register Assembly="Infragistics35.WebUI.UltraWebGrid.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>

<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <script type="text/javascript">
        var submitValue = function (grid, hiddenFormat, format) {
            hiddenFormat.setValue(format);
            grid.submitData(false);
        };
        var template = '<span style="color:{0};">{1}</span>';

        var Shenhe = function (value) {
            if(value==0){return String.format(template,'red', '未审');}
            if(value==1){return String.format(template,'green', '批准');}
            if(value==2){return String.format(template,'blue', '禁止');}
            if(value=='cx_provider'){return '供应商查询';}
            if(value=='cx_staff_hr'){return '员工诚信档案(人事)';}
            if(value=='cx_staff_safty'){return '员工诚信档案(安监)';}
            if(value=='cx_company_pingjia'){return '客户诚信档案';}
            if(value=='cx_chengxin'){return '客户积分情况';}
        }
        
        var tempurl='<a href="/search/view.aspx?id={0}" target="blank">查看</a>';
        var target = function(value){
        return String.format(tempurl,value);
        }
        var saveData = function () {
            HrGridPanelData.setValue(Ext.encode(HrGridPanel.getRowsValues(false)));
        }
        
    </script> 
   
    <ext:Store ID="Store1" OnRefreshData="Store1_OnRefreshData" runat="server">
        <Reader>
            <ext:JsonReader ReaderID="id">
                <Fields>
                    <ext:RecordField Name="id" Type="Int"></ext:RecordField>
                    <ext:RecordField Name="reason" Type="String"></ext:RecordField>
                    <ext:RecordField Name="counttimes" Type="Int"></ext:RecordField>
                    <ext:RecordField Name="status" Type="Int"></ext:RecordField>
                    <ext:RecordField Name="bosstime" Type="Date"></ext:RecordField>
                    <ext:RecordField Name="intime" Type="Date"></ext:RecordField>
                    <ext:RecordField Name="bossnod" Type="Int"></ext:RecordField>
                    <ext:RecordField Name="bossid" Type="Int"></ext:RecordField>
                    <ext:RecordField Name="usertime" Type="Int"></ext:RecordField>
                    <ext:RecordField Name="tbname" Type="String"></ext:RecordField>
                </Fields>
            </ext:JsonReader>
        </Reader>
         <AutoLoadParams>
         <ext:Parameter Name="start" Mode="Raw" Value="0" />
         <ext:Parameter Name="limit" Mode="raw" Value="10" />
        </AutoLoadParams> 
    </ext:Store>
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
        ConnectionString="<%$ ConnectionStrings:CXDB %>" 
        
        SelectCommand="SELECT vw_apply_export_hr.ID AS 档案编号, vw_apply_export_hr.ED_Username AS 员工, vw_apply_export_hr.ED_DeptName AS 所属部门, vw_apply_export_hr.TalkTime AS 谈话时间, vw_apply_export_hr.TalkContent AS 谈话内容, vw_apply_export_hr.Punish_party_time AS 受党纪惩罚时间, vw_apply_export_hr.Punish_party_type AS 受党纪惩罚类型, vw_apply_export_hr.Punish_party_reason AS 受党纪惩罚情况, vw_apply_export_hr.Punish_penal_time AS 受刑事惩罚时间, vw_apply_export_hr.Punish_penal_type AS 受刑事惩罚类型, vw_apply_export_hr.Punish_penal_reason AS 受刑事惩罚情况, vw_apply_export_hr.Party_Problem AS 违反党风廉政建设的重大问题, vw_apply_export_hr.Other_Problem AS 其他不良行为, vw_apply_export_hr.Enter_username AS 录入员, vw_apply_export_hr.inTime AS 录入时间, vw_apply_export_hr.adept_master_name AS 人事领导, vw_apply_export_hr.aDept_Master_Remark AS 人事领导意见, vw_apply_export_hr.aDept_Master_Entering_time AS 人事领导时间, vw_apply_export_hr.dept_master_name AS 部门领导, vw_apply_export_hr.Dept_Master_Remark AS 部门领导意见, vw_apply_export_hr.Dept_Master_Entering_Time AS 部门领导时间, vw_apply_export_hr.boss_name AS 公司领导, vw_apply_export_hr.Boss_Remark AS 公司领导意见, vw_apply_export_hr.Boss_Status AS 公司领导时间, DATEADD(day, 15, CX_Apply.BossTime) AS 有效时间 FROM CX_Apply INNER JOIN vw_apply_export_hr ON CX_Apply.Guid = vw_apply_export_hr.Guid WHERE (CX_Apply.uid = @uid) AND (DATEADD(day, 15, CX_Apply.BossTime) &gt;= GETDATE()) AND (CX_Apply.BossNod = 1) ORDER BY CX_Apply.ID DESC">
        <SelectParameters>
            <asp:CookieParameter CookieName="cuid" Name="uid" />
        </SelectParameters>
    </asp:SqlDataSource> 
    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
        ConnectionString="<%$ ConnectionStrings:CXDB %>" 
        SelectCommand="SELECT vw_apply_export_safty.ID AS 档案编号, vw_apply_export_safty.EN_username AS 员工, vw_apply_export_safty.EN_Department AS 部门, vw_apply_export_safty.Accident_time AS 安全生产中的事故时间, vw_apply_export_safty.Accident_Duty AS 安全生产中的事故责任, vw_apply_export_safty.Accident_reason AS 安全生产中的事故原因, vw_apply_export_safty.ED_username AS 录入员, vw_apply_export_safty.safty_master_name AS 安监部领导, vw_apply_export_safty.Safty_Master_Remark AS 安监部领导意见, vw_apply_export_safty.Safty_Master_time AS 安监部领导时间, vw_apply_export_safty.dept_master_name AS 部门领导, vw_apply_export_safty.Dept_Master_Remark AS 部门领导意见, vw_apply_export_safty.Dept_Master_time AS 部门领导时间, vw_apply_export_safty.boss_name AS 公司领导, vw_apply_export_safty.Boss_Remark AS 公司领导意见, vw_apply_export_safty.Boss_time AS 公司领导时间, DATEADD(day, 15, CX_Apply.BossTime) AS 有效时间 FROM CX_Apply INNER JOIN vw_apply_export_safty ON CX_Apply.Guid = vw_apply_export_safty.Guid WHERE (DATEADD(day, 15, CX_Apply.BossTime) &gt;= GETDATE()) AND (CX_Apply.BossNod = 1) AND (CX_Apply.uid = @uid)">
        <SelectParameters>
            <asp:CookieParameter CookieName="cuid" Name="uid" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
        ConnectionString="<%$ ConnectionStrings:CXDB %>" 
        SelectCommand="SELECT vw_apply_export_company.CompanyID AS 用电客户户号, vw_apply_export_company.CompanyName AS 用电客户名称, vw_apply_export_company.ElectricName AS 用电类别, vw_apply_export_company.TradeName AS 行业类别, vw_apply_export_company.Scores AS 分数, vw_apply_export_company.Credit AS 级别, vw_apply_export_company.unFee_time AS 欠费时间, vw_apply_export_company.unFee_Cash AS 欠费金额, vw_apply_export_company.unFee_Detail AS 欠费情况, vw_apply_export_company.thief_Time1 AS 窃电开始时间, vw_apply_export_company.thief_Time2 AS 窃电结束时间, vw_apply_export_company.thief_Cash AS 涉及电费和金额, vw_apply_export_company.thief_Detail AS 窃电情况说明, vw_apply_export_company.unCoop_Peak_time AS 不配合错峰时间, vw_apply_export_company.unCoop_Peak_Detail AS 不配合错峰情况, vw_apply_export_company.unCoop_Limit_time AS 不配合限电时间, vw_apply_export_company.unCoop_Limit_Detail AS 不配合限电情况, vw_apply_export_company.unCoop_Others AS 其他不良行为, vw_apply_export_company.enter_username AS 录入员, vw_apply_export_company.enter_deptname AS 录入部门, vw_apply_export_company.dept_master_name AS 部门领导, vw_apply_export_company.Dept_Master_Remark AS 部门领导意见, vw_apply_export_company.Dept_Master_Entering_time AS 部门领导时间, vw_apply_export_company.boss_name AS 公司领导, vw_apply_export_company.Manager_Remark AS 公司领导意见, vw_apply_export_company.Manager_Remark_time AS 公司领导时间, vw_apply_export_company.other_master_remark AS 相关部门领导意见, DATEADD(day, 15, CX_Apply.BossTime) AS 有效时间 FROM CX_Apply INNER JOIN vw_apply_export_company ON CX_Apply.Guid = vw_apply_export_company.Guid WHERE (DATEADD(day, 15, CX_Apply.BossTime) &gt;= GETDATE()) AND (CX_Apply.BossNod = 1) AND (CX_Apply.uid = @uid)">
        <SelectParameters>
            <asp:CookieParameter CookieName="cuid" Name="uid" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SqlDataSource5" runat="server" 
        ConnectionString="<%$ ConnectionStrings:CXDB %>" 
        
        SelectCommand="SELECT CX_Provider.ID AS 档案编号, CX_Provider.ProviderName AS 供应商, CX_Provider.DeviceName AS [设备(工程)名称], CX_Provider.Sham_project AS 提供虚假材料参与投标项目, CX_Provider.Sham_time AS 提供虚假材料参与投标时间, CX_Provider.Sham_detail AS 提供虚假材料参与投标情况, CX_Provider.Xinghu_project AS 行贿项目, CX_Provider.Xinghu_time AS 行贿时间, CX_Provider.Xinghu_detail AS 行贿细节, CX_Provider.Contract_project AS 违约项目, CX_Provider.Contract_time AS 违约时间, CX_Provider.Contract_detail AS 违约细节, CX_Provider.other_detail AS 其他不良行为, vw_userBase.username AS 录入员, vw_userBase.DeptName AS 所属部门, CX_UserBase_1.username AS 部门领导, CX_Provider.Dept_master_remark AS 部门领导意见, CX_Provider.Dept_master_time AS 部门领导时间, CX_UserBase_2.username AS 生产技术部领导, CX_Provider.Tech_master_remark AS 生产技术部领导意见, CX_Provider.Tech_master_time AS 生产技术部领导时间, CX_UserBase_3.username AS 办公室领导, CX_Provider.Office_master_remark AS 办公室领导意见, CX_Provider.Office_master_time AS 办公室领导时间, CX_UserBase_4.username AS 公司领导, CX_Provider.Boss_remark AS 公司领导意见, CX_Provider.Boss_time AS 公司领导时间, DATEADD(day, 15, CX_Apply.BossTime) AS 有效时间 FROM vw_userBase INNER JOIN CX_Apply INNER JOIN CX_Provider ON CX_Apply.Guid = CX_Provider.Guid ON vw_userBase.uID = CX_Provider.Entering_userid INNER JOIN CX_UserBase AS CX_UserBase_1 ON CX_Provider.Dept_master_ID = CX_UserBase_1.uID INNER JOIN CX_UserBase AS CX_UserBase_2 ON CX_Provider.Tech_master_ID = CX_UserBase_2.uID INNER JOIN CX_UserBase AS CX_UserBase_3 ON CX_Provider.Office_master_ID = CX_UserBase_3.uID INNER JOIN CX_UserBase AS CX_UserBase_4 ON CX_Provider.Boss_ID = CX_UserBase_4.uID WHERE (CX_Apply.BossNod = 1) AND (DATEADD(day, 15, CX_Apply.BossTime) &gt;= GETDATE()) AND (CX_Apply.uid = @uid)">
        <SelectParameters>
            <asp:CookieParameter CookieName="cuid" DefaultValue="" Name="uid" />
        </SelectParameters>
    </asp:SqlDataSource>
    <ext:TabPanel ID="TabPanel1" runat="server"  Title="我的查询申请" Header="true"  
        Frame="true" AutoHeight="true" TabPosition="Bottom" ActiveTabIndex="0"  >
        <Tabs>
            <ext:Tab ID="Tab0" runat="server" Title="全部查询">
                <Body>
                <ext:GridPanel  AutoHeight="true" ID="GridPanel1" AutoExpandColumn="reason" Frame="true"   StoreID="Store1" runat="server">
                        <ColumnModel>
                            <Columns>
                                <ext:Column  ColumnID="id" DataIndex="id" Header="编号"></ext:Column>
                                <ext:Column ColumnID="tbname" Width="200" DataIndex="tbname" Header="查询条目">
                                    <Renderer Fn="Shenhe" />
                                </ext:Column>
                                <ext:Column ColumnID="reason" DataIndex="reason" Header="查询原因"></ext:Column>
                                
                                <ext:Column ColumnID="intime" DataIndex="intime" Header="申请时间">
                                    <Renderer Fn="Ext.util.Format.dateRenderer('Y-m-d')" />
                                </ext:Column>
                                <ext:Column ColumnID="bossnod" DataIndex="bossnod" Header="审核">
                                    <Renderer Fn="Shenhe" />
                                </ext:Column>
                                <ext:Column ColumnID="bosstime" DataIndex="bosstime" Header="有效日期">
                                    <Renderer Fn="Ext.util.Format.dateRenderer('Y-m-d')" />
                                </ext:Column>
                                
                                <ext:Column  ColumnID="ida" DataIndex="id" Header="可用操作">
                                <Renderer Fn="target" />
                                </ext:Column>
                            </Columns>
                        </ColumnModel>
                        <BottomBar>
                            <ext:PagingToolBar 
                                ID="PagingToolBar1" 
                                runat="server" 
                                PageSize="20" 
                                StoreID="Store1" 
                                />
                        </BottomBar>
                    </ext:GridPanel>
                </Body>
            </ext:Tab>
             <ext:Tab ID="Tab1" runat="server" Title="人事档案查询申请">
                <Body>
                    <igtbl:UltraWebGrid ID="UltraWebGrid1" DataSourceID="SqlDataSource2"  
                        runat="server" Height="500px" Width="100%">
                        <Bands>
                            <igtbl:UltraGridBand>
                                <Columns>
                                    <igtbl:UltraGridColumn BaseColumnName="档案编号" DataType="System.Int32" 
                                        IsBound="True" Key="档案编号">
                                        <Header Caption="档案编号">
                                        </Header>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="员工" IsBound="True" Key="员工">
                                        <Header Caption="员工">
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="所属部门" IsBound="True" Key="所属部门">
                                        <Header Caption="所属部门">
                                            <RowLayoutColumnInfo OriginX="2" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="2" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="谈话时间" DataType="System.DateTime" 
                                        IsBound="True" Key="谈话时间">
                                        <Header Caption="谈话时间">
                                            <RowLayoutColumnInfo OriginX="3" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="3" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="谈话内容" IsBound="True" Key="谈话内容">
                                        <Header Caption="谈话内容">
                                            <RowLayoutColumnInfo OriginX="4" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="4" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="受党纪惩罚时间" DataType="System.DateTime" 
                                        IsBound="True" Key="受党纪惩罚时间">
                                        <Header Caption="受党纪惩罚时间">
                                            <RowLayoutColumnInfo OriginX="5" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="5" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="受党纪惩罚类型" IsBound="True" Key="受党纪惩罚类型">
                                        <Header Caption="受党纪惩罚类型">
                                            <RowLayoutColumnInfo OriginX="6" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="6" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="受党纪惩罚情况" IsBound="True" Key="受党纪惩罚情况">
                                        <Header Caption="受党纪惩罚情况">
                                            <RowLayoutColumnInfo OriginX="7" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="7" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="受刑事惩罚时间" DataType="System.DateTime" 
                                        IsBound="True" Key="受刑事惩罚时间">
                                        <Header Caption="受刑事惩罚时间">
                                            <RowLayoutColumnInfo OriginX="8" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="8" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="受刑事惩罚类型" IsBound="True" Key="受刑事惩罚类型">
                                        <Header Caption="受刑事惩罚类型">
                                            <RowLayoutColumnInfo OriginX="9" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="9" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="受刑事惩罚情况" IsBound="True" Key="受刑事惩罚情况">
                                        <Header Caption="受刑事惩罚情况">
                                            <RowLayoutColumnInfo OriginX="10" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="10" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="违反党风廉政建设的重大问题" IsBound="True" 
                                        Key="违反党风廉政建设的重大问题">
                                        <Header Caption="违反党风廉政建设的重大问题">
                                            <RowLayoutColumnInfo OriginX="11" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="11" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="其他不良行为" IsBound="True" Key="其他不良行为">
                                        <Header Caption="其他不良行为">
                                            <RowLayoutColumnInfo OriginX="12" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="12" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="录入员" IsBound="True" Key="录入员">
                                        <Header Caption="录入员">
                                            <RowLayoutColumnInfo OriginX="13" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="13" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="录入时间" DataType="System.DateTime" 
                                        IsBound="True" Key="录入时间">
                                        <Header Caption="录入时间">
                                            <RowLayoutColumnInfo OriginX="14" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="14" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="人事领导" IsBound="True" Key="人事领导">
                                        <Header Caption="人事领导">
                                            <RowLayoutColumnInfo OriginX="15" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="15" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="人事领导意见" IsBound="True" Key="人事领导意见">
                                        <Header Caption="人事领导意见">
                                            <RowLayoutColumnInfo OriginX="16" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="16" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="人事领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="人事领导时间">
                                        <Header Caption="人事领导时间">
                                            <RowLayoutColumnInfo OriginX="17" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="17" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导" IsBound="True" Key="部门领导">
                                        <Header Caption="部门领导">
                                            <RowLayoutColumnInfo OriginX="18" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="18" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导意见" IsBound="True" Key="部门领导意见">
                                        <Header Caption="部门领导意见">
                                            <RowLayoutColumnInfo OriginX="19" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="19" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="部门领导时间">
                                        <Header Caption="部门领导时间">
                                            <RowLayoutColumnInfo OriginX="20" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="20" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导" IsBound="True" Key="公司领导">
                                        <Header Caption="公司领导">
                                            <RowLayoutColumnInfo OriginX="21" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="21" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导意见" IsBound="True" Key="公司领导意见">
                                        <Header Caption="公司领导意见">
                                            <RowLayoutColumnInfo OriginX="22" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="22" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导时间" DataType="System.Int32" 
                                        IsBound="True" Key="公司领导时间">
                                        <Header Caption="公司领导时间">
                                            <RowLayoutColumnInfo OriginX="23" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="23" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="有效时间" DataType="System.DateTime" 
                                        IsBound="True" Key="有效时间">
                                        <Header Caption="有效时间">
                                            <RowLayoutColumnInfo OriginX="24" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="24" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                </Columns>
                                <AddNewRow View="NotSet" Visible="NotSet">
                                </AddNewRow>
                            </igtbl:UltraGridBand>
                        </Bands>
                        <DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" 
                            AllowDeleteDefault="Yes" AllowSortingDefault="OnClient" 
                            AllowUpdateDefault="Yes" BorderCollapseDefault="Separate" 
                            HeaderClickActionDefault="SortMulti" Name="UltraWebGrid1" NoDataMessage="暂无数据" 
                            RowHeightDefault="20px" RowSelectorsDefault="No" 
                            SelectTypeRowDefault="Extended" StationaryMargins="Header" 
                            StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed" Version="4.00" 
                            ViewType="OutlookGroupBy">
                            <FrameStyle BackColor="Window" BorderColor="InactiveCaption" 
                                BorderStyle="Solid" BorderWidth="1px" Font-Names="Microsoft Sans Serif" 
                                Font-Size="8.25pt" Height="500px" Width="100%">
                            </FrameStyle>
                            <Pager MinimumPagesForDisplay="2">
                                <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                                </PagerStyle>
                            </Pager>
                            <EditCellStyleDefault BorderStyle="None" BorderWidth="0px">
                            </EditCellStyleDefault>
                            <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                            </FooterStyleDefault>
                            <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" 
                                HorizontalAlign="Left">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                            </HeaderStyleDefault>
                            <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" 
                                BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">
                                <Padding Left="3px" />
                                <BorderDetails ColorLeft="Window" ColorTop="Window" />
                            </RowStyleDefault>
                            <GroupByRowStyleDefault BackColor="Control" BorderColor="Window">
                            </GroupByRowStyleDefault>
                            <GroupByBox Prompt="拖拽一列数据到这里，可以进行分组排序。">
                                <BoxStyle BackColor="ActiveBorder" BorderColor="Window">
                                </BoxStyle>
                            </GroupByBox>
                            <AddNewBox Hidden="False">
                                <BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" 
                                    BorderWidth="1px">
                                    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                        WidthTop="1px" />
                                </BoxStyle>
                            </AddNewBox>
                            <ActivationObject BorderColor="" BorderWidth="">
                            </ActivationObject>
                            <FilterOptionsDefault>
                                <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" 
                                    BorderWidth="1px" CustomRules="overflow:auto;" 
                                    Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px" Height="300px" 
                                    Width="200px">
                                    <Padding Left="2px" />
                                </FilterDropDownStyle>
                                <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">
                                </FilterHighlightRowStyle>
                                <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" 
                                    BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" 
                                    Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px">
                                    <Padding Left="2px" />
                                </FilterOperandDropDownStyle>
                            </FilterOptionsDefault>
                        </DisplayLayout>
                    </igtbl:UltraWebGrid>
                    <igtblexp:UltraWebGridExcelExporter ID="UltraWebGridExcelExporter1" runat='server'>
                    </igtblexp:UltraWebGridExcelExporter>
                    <asp:Button ID="Button1" runat="server" Text="导出Excel" 
                        onclick="Button1_Click" />
                </Body> 
            </ext:Tab>
            <ext:Tab ID="Tab2" runat="server" Title="安监档案查询申请">
                <Body>
                    <igtbl:UltraWebGrid  ID="UltraWebGrid2" DataSourceID="SqlDataSource3" 
                        runat="server" Height="500px" Width="100%">
                        <Bands>
                            <igtbl:UltraGridBand>
                                <Columns>
                                    <igtbl:UltraGridColumn BaseColumnName="档案编号" DataType="System.Int32" 
                                        IsBound="True" Key="档案编号">
                                        <Header Caption="档案编号">
                                        </Header>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="员工" IsBound="True" Key="员工">
                                        <Header Caption="员工">
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门" IsBound="True" Key="部门">
                                        <Header Caption="部门">
                                            <RowLayoutColumnInfo OriginX="2" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="2" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="安全生产中的事故时间" DataType="System.DateTime" 
                                        IsBound="True" Key="安全生产中的事故时间">
                                        <Header Caption="安全生产中的事故时间">
                                            <RowLayoutColumnInfo OriginX="3" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="3" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="安全生产中的事故责任" IsBound="True" 
                                        Key="安全生产中的事故责任">
                                        <Header Caption="安全生产中的事故责任">
                                            <RowLayoutColumnInfo OriginX="4" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="4" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="安全生产中的事故原因" IsBound="True" 
                                        Key="安全生产中的事故原因">
                                        <Header Caption="安全生产中的事故原因">
                                            <RowLayoutColumnInfo OriginX="5" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="5" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="录入员" IsBound="True" Key="录入员">
                                        <Header Caption="录入员">
                                            <RowLayoutColumnInfo OriginX="6" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="6" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="安监部领导" IsBound="True" Key="安监部领导">
                                        <Header Caption="安监部领导">
                                            <RowLayoutColumnInfo OriginX="7" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="7" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="安监部领导意见" IsBound="True" Key="安监部领导意见">
                                        <Header Caption="安监部领导意见">
                                            <RowLayoutColumnInfo OriginX="8" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="8" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="安监部领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="安监部领导时间">
                                        <Header Caption="安监部领导时间">
                                            <RowLayoutColumnInfo OriginX="9" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="9" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导" IsBound="True" Key="部门领导">
                                        <Header Caption="部门领导">
                                            <RowLayoutColumnInfo OriginX="10" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="10" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导意见" IsBound="True" Key="部门领导意见">
                                        <Header Caption="部门领导意见">
                                            <RowLayoutColumnInfo OriginX="11" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="11" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="部门领导时间">
                                        <Header Caption="部门领导时间">
                                            <RowLayoutColumnInfo OriginX="12" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="12" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导" IsBound="True" Key="公司领导">
                                        <Header Caption="公司领导">
                                            <RowLayoutColumnInfo OriginX="13" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="13" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导意见" IsBound="True" Key="公司领导意见">
                                        <Header Caption="公司领导意见">
                                            <RowLayoutColumnInfo OriginX="14" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="14" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="公司领导时间">
                                        <Header Caption="公司领导时间">
                                            <RowLayoutColumnInfo OriginX="15" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="15" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="有效时间" DataType="System.DateTime" 
                                        IsBound="True" Key="有效时间">
                                        <Header Caption="有效时间">
                                            <RowLayoutColumnInfo OriginX="16" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="16" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                </Columns>
                                <AddNewRow View="NotSet" Visible="NotSet">
                                </AddNewRow>
                            </igtbl:UltraGridBand>
                        </Bands>
                        <DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" 
                            AllowDeleteDefault="Yes" AllowSortingDefault="OnClient" 
                            AllowUpdateDefault="Yes" BorderCollapseDefault="Separate" 
                            HeaderClickActionDefault="SortMulti" Name="UltraWebGrid2" 
                            RowHeightDefault="20px" RowSelectorsDefault="No" 
                            SelectTypeRowDefault="Extended" StationaryMargins="Header" 
                            StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed" Version="4.00" 
                            ViewType="OutlookGroupBy">
                            <FrameStyle BackColor="Window" BorderColor="InactiveCaption" 
                                BorderStyle="Solid" BorderWidth="1px" Font-Names="Microsoft Sans Serif" 
                                Font-Size="8.25pt" Height="500px" Width="100%">
                            </FrameStyle>
                            <Pager MinimumPagesForDisplay="2">
                                <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                                </PagerStyle>
                            </Pager>
                            <EditCellStyleDefault BorderStyle="None" BorderWidth="0px">
                            </EditCellStyleDefault>
                            <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                            </FooterStyleDefault>
                            <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" 
                                HorizontalAlign="Left">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                            </HeaderStyleDefault>
                            <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" 
                                BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">
                                <Padding Left="3px" />
                                <BorderDetails ColorLeft="Window" ColorTop="Window" />
                            </RowStyleDefault>
                            <GroupByRowStyleDefault BackColor="Control" BorderColor="Window">
                            </GroupByRowStyleDefault>
                            <GroupByBox Prompt="拖拽一列数据到这里，可以进行分组排序。">
                                <BoxStyle BackColor="ActiveBorder" BorderColor="Window">
                                </BoxStyle>
                            </GroupByBox>
                            <AddNewBox Hidden="False">
                                <BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" 
                                    BorderWidth="1px">
                                    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                        WidthTop="1px" />
                                </BoxStyle>
                            </AddNewBox>
                            <ActivationObject BorderColor="" BorderWidth="">
                            </ActivationObject>
                            <FilterOptionsDefault>
                                <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" 
                                    BorderWidth="1px" CustomRules="overflow:auto;" 
                                    Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px" Height="300px" 
                                    Width="200px">
                                    <Padding Left="2px" />
                                </FilterDropDownStyle>
                                <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">
                                </FilterHighlightRowStyle>
                                <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" 
                                    BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" 
                                    Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px">
                                    <Padding Left="2px" />
                                </FilterOperandDropDownStyle>
                            </FilterOptionsDefault>
                        </DisplayLayout>
                    </igtbl:UltraWebGrid>
                    <igtblexp:UltraWebGridExcelExporter ID="UltraWebGridExcelExporter2" runat='server'>
                    </igtblexp:UltraWebGridExcelExporter>
                    <asp:Button ID="Button2" runat="server" Text="导出Excel" 
                        onclick="Button2_Click" />
                </Body>
            </ext:Tab>
            <ext:Tab ID="Tab3" runat="server" Title="用电客户档案查询申请">
                <Body>
                    <igtbl:UltraWebGrid ID="UltraWebGrid3" DataSourceID="SqlDataSource4" 
                        runat="server" Height="500px" Width="100%">
                        <Bands>
                            <igtbl:UltraGridBand>
                                <Columns>
                                    <igtbl:UltraGridColumn BaseColumnName="用电客户户号" IsBound="True" Key="用电客户户号">
                                        <Header Caption="用电客户户号">
                                        </Header>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="用电客户名称" IsBound="True" Key="用电客户名称">
                                        <Header Caption="用电客户名称">
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="用电类别" IsBound="True" Key="用电类别">
                                        <Header Caption="用电类别">
                                            <RowLayoutColumnInfo OriginX="2" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="2" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="行业类别" IsBound="True" Key="行业类别">
                                        <Header Caption="行业类别">
                                            <RowLayoutColumnInfo OriginX="3" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="3" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="分数" DataType="System.Int32" 
                                        IsBound="True" Key="分数">
                                        <Header Caption="分数">
                                            <RowLayoutColumnInfo OriginX="4" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="4" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="级别" IsBound="True" Key="级别">
                                        <Header Caption="级别">
                                            <RowLayoutColumnInfo OriginX="5" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="5" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="欠费时间" DataType="System.DateTime" 
                                        IsBound="True" Key="欠费时间">
                                        <Header Caption="欠费时间">
                                            <RowLayoutColumnInfo OriginX="6" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="6" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="欠费金额" DataType="System.Int32" 
                                        IsBound="True" Key="欠费金额">
                                        <Header Caption="欠费金额">
                                            <RowLayoutColumnInfo OriginX="7" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="7" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="欠费情况" IsBound="True" Key="欠费情况">
                                        <Header Caption="欠费情况">
                                            <RowLayoutColumnInfo OriginX="8" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="8" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="窃电开始时间" DataType="System.DateTime" 
                                        IsBound="True" Key="窃电开始时间">
                                        <Header Caption="窃电开始时间">
                                            <RowLayoutColumnInfo OriginX="9" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="9" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="窃电结束时间" DataType="System.DateTime" 
                                        IsBound="True" Key="窃电结束时间">
                                        <Header Caption="窃电结束时间">
                                            <RowLayoutColumnInfo OriginX="10" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="10" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="涉及电费和金额" DataType="System.Int32" 
                                        IsBound="True" Key="涉及电费和金额">
                                        <Header Caption="涉及电费和金额">
                                            <RowLayoutColumnInfo OriginX="11" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="11" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="窃电情况说明" IsBound="True" Key="窃电情况说明">
                                        <Header Caption="窃电情况说明">
                                            <RowLayoutColumnInfo OriginX="12" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="12" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="不配合错峰时间" DataType="System.DateTime" 
                                        IsBound="True" Key="不配合错峰时间">
                                        <Header Caption="不配合错峰时间">
                                            <RowLayoutColumnInfo OriginX="13" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="13" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="不配合错峰情况" IsBound="True" Key="不配合错峰情况">
                                        <Header Caption="不配合错峰情况">
                                            <RowLayoutColumnInfo OriginX="14" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="14" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="不配合限电时间" DataType="System.DateTime" 
                                        IsBound="True" Key="不配合限电时间">
                                        <Header Caption="不配合限电时间">
                                            <RowLayoutColumnInfo OriginX="15" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="15" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="不配合限电情况" IsBound="True" Key="不配合限电情况">
                                        <Header Caption="不配合限电情况">
                                            <RowLayoutColumnInfo OriginX="16" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="16" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="其他不良行为" IsBound="True" Key="其他不良行为">
                                        <Header Caption="其他不良行为">
                                            <RowLayoutColumnInfo OriginX="17" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="17" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="录入员" IsBound="True" Key="录入员">
                                        <Header Caption="录入员">
                                            <RowLayoutColumnInfo OriginX="18" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="18" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="录入部门" IsBound="True" Key="录入部门">
                                        <Header Caption="录入部门">
                                            <RowLayoutColumnInfo OriginX="19" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="19" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导" IsBound="True" Key="部门领导">
                                        <Header Caption="部门领导">
                                            <RowLayoutColumnInfo OriginX="20" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="20" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导意见" IsBound="True" Key="部门领导意见">
                                        <Header Caption="部门领导意见">
                                            <RowLayoutColumnInfo OriginX="21" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="21" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="部门领导时间">
                                        <Header Caption="部门领导时间">
                                            <RowLayoutColumnInfo OriginX="22" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="22" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导" IsBound="True" Key="公司领导">
                                        <Header Caption="公司领导">
                                            <RowLayoutColumnInfo OriginX="23" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="23" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导意见" IsBound="True" Key="公司领导意见">
                                        <Header Caption="公司领导意见">
                                            <RowLayoutColumnInfo OriginX="24" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="24" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="公司领导时间">
                                        <Header Caption="公司领导时间">
                                            <RowLayoutColumnInfo OriginX="25" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="25" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="相关部门领导意见" IsBound="True" Key="相关部门领导意见">
                                        <Header Caption="相关部门领导意见">
                                            <RowLayoutColumnInfo OriginX="26" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="26" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="有效时间" DataType="System.DateTime" 
                                        IsBound="True" Key="有效时间">
                                        <Header Caption="有效时间">
                                            <RowLayoutColumnInfo OriginX="27" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="27" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                </Columns>
                                <AddNewRow View="NotSet" Visible="NotSet">
                                </AddNewRow>
                            </igtbl:UltraGridBand>
                        </Bands>
                        <DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" 
                            AllowDeleteDefault="Yes" AllowSortingDefault="OnClient" 
                            AllowUpdateDefault="Yes" BorderCollapseDefault="Separate" 
                            HeaderClickActionDefault="SortMulti" Name="UltraWebGrid3" 
                            RowHeightDefault="20px" RowSelectorsDefault="No" 
                            SelectTypeRowDefault="Extended" StationaryMargins="Header" 
                            StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed" Version="4.00" 
                            ViewType="OutlookGroupBy">
                            <FrameStyle BackColor="Window" BorderColor="InactiveCaption" 
                                BorderStyle="Solid" BorderWidth="1px" Font-Names="Microsoft Sans Serif" 
                                Font-Size="8.25pt" Height="500px" Width="100%">
                            </FrameStyle>
                            <Pager MinimumPagesForDisplay="2">
                                <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                                </PagerStyle>
                            </Pager>
                            <EditCellStyleDefault BorderStyle="None" BorderWidth="0px">
                            </EditCellStyleDefault>
                            <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                            </FooterStyleDefault>
                            <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" 
                                HorizontalAlign="Left">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                            </HeaderStyleDefault>
                            <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" 
                                BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">
                                <Padding Left="3px" />
                                <BorderDetails ColorLeft="Window" ColorTop="Window" />
                            </RowStyleDefault>
                            <GroupByRowStyleDefault BackColor="Control" BorderColor="Window">
                            </GroupByRowStyleDefault>
                            <GroupByBox Prompt="拖拽一列数据到这里，可以进行分组排序。">
                                <BoxStyle BackColor="ActiveBorder" BorderColor="Window">
                                </BoxStyle>
                            </GroupByBox>
                            <AddNewBox Hidden="False">
                                <BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" 
                                    BorderWidth="1px">
                                    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                        WidthTop="1px" />
                                </BoxStyle>
                            </AddNewBox>
                            <ActivationObject BorderColor="" BorderWidth="">
                            </ActivationObject>
                            <FilterOptionsDefault>
                                <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" 
                                    BorderWidth="1px" CustomRules="overflow:auto;" 
                                    Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px" Height="300px" 
                                    Width="200px">
                                    <Padding Left="2px" />
                                </FilterDropDownStyle>
                                <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">
                                </FilterHighlightRowStyle>
                                <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" 
                                    BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" 
                                    Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px">
                                    <Padding Left="2px" />
                                </FilterOperandDropDownStyle>
                            </FilterOptionsDefault>
                        </DisplayLayout>
                    </igtbl:UltraWebGrid>
                    <igtblexp:UltraWebGridExcelExporter  ID="UltraWebGridExcelExporter3"
                        runat='server'>
                    </igtblexp:UltraWebGridExcelExporter>
                     
                    <asp:Button ID="Button3" runat="server" Text="导出Excel" 
                        onclick="Button3_Click" />
                </Body>
            </ext:Tab>
            <ext:Tab ID="Tab4" runat="server" Title="供应商档案查询申请">
                <Body>
                    <igtbl:UltraWebGrid ID="UltraWebGrid4" DataSourceID="SqlDataSource5" 
                        runat="server" Height="500px" Width="100%">
                        <Bands>
                            <igtbl:UltraGridBand>
                                <Columns>
                                    <igtbl:UltraGridColumn BaseColumnName="档案编号" DataType="System.Int32" 
                                        IsBound="True" Key="档案编号">
                                        <Header Caption="档案编号">
                                        </Header>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="供应商" IsBound="True" Key="供应商">
                                        <Header Caption="供应商">
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="设备(工程)名称" IsBound="True" Key="设备(工程)名称">
                                        <Header Caption="设备(工程)名称">
                                            <RowLayoutColumnInfo OriginX="2" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="2" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="提供虚假材料参与投标项目" IsBound="True" 
                                        Key="提供虚假材料参与投标项目">
                                        <Header Caption="提供虚假材料参与投标项目">
                                            <RowLayoutColumnInfo OriginX="3" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="3" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="提供虚假材料参与投标时间" DataType="System.DateTime" 
                                        IsBound="True" Key="提供虚假材料参与投标时间">
                                        <Header Caption="提供虚假材料参与投标时间">
                                            <RowLayoutColumnInfo OriginX="4" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="4" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="提供虚假材料参与投标情况" IsBound="True" 
                                        Key="提供虚假材料参与投标情况">
                                        <Header Caption="提供虚假材料参与投标情况">
                                            <RowLayoutColumnInfo OriginX="5" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="5" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="行贿项目" IsBound="True" Key="行贿项目">
                                        <Header Caption="行贿项目">
                                            <RowLayoutColumnInfo OriginX="6" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="6" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="行贿时间" DataType="System.DateTime" 
                                        IsBound="True" Key="行贿时间">
                                        <Header Caption="行贿时间">
                                            <RowLayoutColumnInfo OriginX="7" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="7" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="行贿细节" IsBound="True" Key="行贿细节">
                                        <Header Caption="行贿细节">
                                            <RowLayoutColumnInfo OriginX="8" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="8" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="违约项目" IsBound="True" Key="违约项目">
                                        <Header Caption="违约项目">
                                            <RowLayoutColumnInfo OriginX="9" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="9" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="违约时间" DataType="System.DateTime" 
                                        IsBound="True" Key="违约时间">
                                        <Header Caption="违约时间">
                                            <RowLayoutColumnInfo OriginX="10" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="10" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="违约细节" IsBound="True" Key="违约细节">
                                        <Header Caption="违约细节">
                                            <RowLayoutColumnInfo OriginX="11" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="11" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="其他不良行为" IsBound="True" Key="其他不良行为">
                                        <Header Caption="其他不良行为">
                                            <RowLayoutColumnInfo OriginX="12" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="12" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="录入员" IsBound="True" Key="录入员">
                                        <Header Caption="录入员">
                                            <RowLayoutColumnInfo OriginX="13" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="13" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="所属部门" IsBound="True" Key="所属部门">
                                        <Header Caption="所属部门">
                                            <RowLayoutColumnInfo OriginX="14" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="14" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导" IsBound="True" Key="部门领导">
                                        <Header Caption="部门领导">
                                            <RowLayoutColumnInfo OriginX="15" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="15" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导意见" IsBound="True" Key="部门领导意见">
                                        <Header Caption="部门领导意见">
                                            <RowLayoutColumnInfo OriginX="16" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="16" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="部门领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="部门领导时间">
                                        <Header Caption="部门领导时间">
                                            <RowLayoutColumnInfo OriginX="17" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="17" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="生产技术部领导" IsBound="True" Key="生产技术部领导">
                                        <Header Caption="生产技术部领导">
                                            <RowLayoutColumnInfo OriginX="18" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="18" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="生产技术部领导意见" IsBound="True" 
                                        Key="生产技术部领导意见">
                                        <Header Caption="生产技术部领导意见">
                                            <RowLayoutColumnInfo OriginX="19" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="19" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="生产技术部领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="生产技术部领导时间">
                                        <Header Caption="生产技术部领导时间">
                                            <RowLayoutColumnInfo OriginX="20" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="20" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="办公室领导" IsBound="True" Key="办公室领导">
                                        <Header Caption="办公室领导">
                                            <RowLayoutColumnInfo OriginX="21" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="21" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="办公室领导意见" IsBound="True" Key="办公室领导意见">
                                        <Header Caption="办公室领导意见">
                                            <RowLayoutColumnInfo OriginX="22" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="22" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="办公室领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="办公室领导时间">
                                        <Header Caption="办公室领导时间">
                                            <RowLayoutColumnInfo OriginX="23" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="23" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导" IsBound="True" Key="公司领导">
                                        <Header Caption="公司领导">
                                            <RowLayoutColumnInfo OriginX="24" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="24" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导意见" IsBound="True" Key="公司领导意见">
                                        <Header Caption="公司领导意见">
                                            <RowLayoutColumnInfo OriginX="25" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="25" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="公司领导时间" DataType="System.DateTime" 
                                        IsBound="True" Key="公司领导时间">
                                        <Header Caption="公司领导时间">
                                            <RowLayoutColumnInfo OriginX="26" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="26" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="有效时间" DataType="System.DateTime" 
                                        IsBound="True" Key="有效时间">
                                        <Header Caption="有效时间">
                                            <RowLayoutColumnInfo OriginX="27" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="27" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                </Columns>
                                <AddNewRow View="NotSet" Visible="NotSet">
                                </AddNewRow>
                            </igtbl:UltraGridBand>
                        </Bands>
                        <DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" 
                            AllowDeleteDefault="Yes" AllowSortingDefault="OnClient" 
                            AllowUpdateDefault="Yes" BorderCollapseDefault="Separate" 
                            HeaderClickActionDefault="SortMulti" Name="UltraWebGrid4" 
                            RowHeightDefault="20px" RowSelectorsDefault="No" 
                            SelectTypeRowDefault="Extended" StationaryMargins="Header" 
                            StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed" Version="4.00" 
                            ViewType="OutlookGroupBy">
                            <FrameStyle BackColor="Window" BorderColor="InactiveCaption" 
                                BorderStyle="Solid" BorderWidth="1px" Font-Names="Microsoft Sans Serif" 
                                Font-Size="8.25pt" Height="500px" Width="100%">
                            </FrameStyle>
                            <Pager MinimumPagesForDisplay="2">
                                <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                                </PagerStyle>
                            </Pager>
                            <EditCellStyleDefault BorderStyle="None" BorderWidth="0px">
                            </EditCellStyleDefault>
                            <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                            </FooterStyleDefault>
                            <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" 
                                HorizontalAlign="Left">
                                <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                    WidthTop="1px" />
                            </HeaderStyleDefault>
                            <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" 
                                BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">
                                <Padding Left="3px" />
                                <BorderDetails ColorLeft="Window" ColorTop="Window" />
                            </RowStyleDefault>
                            <GroupByRowStyleDefault BackColor="Control" BorderColor="Window">
                            </GroupByRowStyleDefault>
                            <GroupByBox Prompt="拖拽一列数据到这里，可以进行分组排序。">
                                <BoxStyle BackColor="ActiveBorder" BorderColor="Window">
                                </BoxStyle>
                            </GroupByBox>
                            <AddNewBox Hidden="False">
                                <BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" 
                                    BorderWidth="1px">
                                    <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" 
                                        WidthTop="1px" />
                                </BoxStyle>
                            </AddNewBox>
                            <ActivationObject BorderColor="" BorderWidth="">
                            </ActivationObject>
                            <FilterOptionsDefault>
                                <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" 
                                    BorderWidth="1px" CustomRules="overflow:auto;" 
                                    Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px" Height="300px" 
                                    Width="200px">
                                    <Padding Left="2px" />
                                </FilterDropDownStyle>
                                <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">
                                </FilterHighlightRowStyle>
                                <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" 
                                    BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" 
                                    Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px">
                                    <Padding Left="2px" />
                                </FilterOperandDropDownStyle>
                            </FilterOptionsDefault>
                        </DisplayLayout>
                    </igtbl:UltraWebGrid>
                    
                    <igtblexp:UltraWebGridExcelExporter  ID="UltraWebGridExcelExporter4"
                        runat='server'>
                    </igtblexp:UltraWebGridExcelExporter>
                    <asp:Button ID="Button4" runat="server" Text="导出Excel" 
                        onclick="Button4_Click" />
                </Body>
            </ext:Tab>
            <ext:Tab ID="Tab5" runat="server" Title="客户评分查询申请">
                <Body>
                </Body>
            </ext:Tab>
        </Tabs>
    </ext:TabPanel>
                    
</asp:Content>

